package com.kaiwukj.android.ufamily.mvp.ui.page.home.mine;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.kaiwukj.android.ufamily.R;

import org.jetbrains.annotations.NotNull;

import java.util.ArrayList;

public class PersonVipServiceAdapter extends BaseQuickAdapter<ServiceBean, BaseViewHolder> {
    public PersonVipServiceAdapter() {
        super(R.layout.item_person_vip_service, new ArrayList<>());
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, ServiceBean serviceBean) {
        holder.setImageResource(R.id.iv_image, serviceBean.getResId());
        holder.setText(R.id.tv_text, serviceBean.getName());
    }
}
